home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
newkey43.arc
/
DEMO.KEY
< prev
next >
Wrap
Text File
|
1987-05-02
|
31KB
|
452 lines
*
<begdef><&>HELLO <altn><enddef>
*
<begdef><alt1>Enter any number of keystrokes followed by enter:
<vfld> <esc>and Newkey will finish for you.<enddef>
*
<begdef><alt2>Enter 2 keystrokes: <ffld><ffld> and Newkey will fini
sh for you.<enddef>
*
<begdef><alt3>Enter '<notr>&' followed by enter: <vfld> You will n
otice<esc>that '<notr>&' has been redefined to 'HELLO'.<esc>Now ent
er ctrl-2 and '<notr>&' followed by enter: <vfld><esc>You will noti
ce that '<notr>&' was returned, not 'HELLO'.<esc>This is an example
of Newkey's no translation feature.<esc>
<esc>
Press F8 to continue. <esc>
<enddef>
*
<begdef><altc>NEWKEYSP /C<enter>
<enddef>
*
<begdef><altd><esc>cls<enter>
TOUR DIRECTORY <esc>
<esc>
ALT F1 - Begin tour <esc>
<esc>
F1 - Introduction <esc>
F2 - Defining a key definition (macro) <esc>
F3 - Nested key definitions <esc>
F4 - Variable length fill-in-the-blanks fields <esc>
F5 - Fixed length fill-in-the-blanks fields <esc>
F6 - Switching Newkey on/off <esc>
F7 - Translation bypass (escape) <esc>
F8 - Dynamic display/update features <esc>
F9 - Other features <esc>
<esc>
CTRL F1 - Introduction to Newkeysp, the Newkey support program <esc>
CTRL F2 - Invoking Newkeysp <esc>
CTRL F3 - Registration information <esc>
CTRL F4 - Exit tour <esc>
<esc>
ALT C - Clear this demonstration from Newkey's memory <esc>
ALT D - This screen <esc>
ALT H - Help <esc>
<esc>
Press any of the above keys to continue tour. <esc>
<enddef>
*
<begdef><altf1>cls<enter>
A GUIDED TOUR OF NEWKEY <esc>
(C)Copyright Frank Bell, 1986, 1987. All rights reserved. <esc>
<esc>
The author, Frank A. Bell, grants a limited license to copy and <esc>
share unmodified copies of the Newkey evaluation diskette subject <esc>
to the restrictions documented in the NEWKEY.DOC file on the <esc>
diskette. This full-power evaluation version is identical to the <esc>
registered version with the exception that it does not display this <esc>
screen. If, after an initial evaluation period of 30 days, <esc>
you continue to use Newkey we trust you to register your copy. <esc>
Registration costs $30, and provides the following benefits: <esc>
- The latest version of Newkey without an initial evaluation screen <esc>
- A printed manual <esc>
- Telephone or mail support <esc>
- Notification of new releases <esc>
- Support for a software author willing to let you evaluate <esc>
before purchase <esc>
<esc>
To register send a check or money order for $30 to: <esc>
FAB Sofware <esc>
P.O. Box 336 <esc>
Wayland, MA 01778 <esc>
Press ALT F2 to continue. <esc>
<enddef>
*
<begdef><altf2>cls<enter>
A GUIDED TOUR OF NEWKEY <esc>
<esc>
This tour will serve as a general introduction to Newkey. It <esc>
is not intended to demonstrate all of Newkey's features. You will <esc>
find the Newkey manual an excellent aid in learning to use Newkey's <esc>
features easily and effectively. <esc>
<esc>
IMPORTANT NOTE TO ENHANCED KEYBOARD USERS: Alternate hot keys for <esc>
enhanced keyboards are in parentheses. Refer to section 15.5, the <esc>
newkey.doc, or readme files for more information. <esc>
<esc>
This tour may be exited at any time by pressing CTRL F3. <esc>
Press ALT H for help. <esc>
Press F1 to begin your tour. <esc>
<enddef>
* <begdef><alth><esc>
cls<enter>
HELP <esc>
<esc>
You are currently taking a guided tour of Newkey. This tour does <esc>
not know where you just came from so you will have to choose from one <esc>
of the options below to continue. <esc>
<esc>
<esc>
EXIT TOUR - Press CTRL F3. <esc>
<esc>
LOST - If you get lost the tour may be restarted at any point by <esc>
pressing the appropriate function key. Press ALT D for a directory <esc>
listing of function keys. <esc>
<esc>
TOUR GUIDE - Press ALT D for a tour directory. <esc>
<esc>
<enddef>
* <begdef><ctrlf1><esc>
cls<enter>
NEWKEYSP, THE NEWKEY SUPPORT PROGRAM <esc>
Demonstration for <altn> <esc>
<esc>
<esc>
Newkeysp provides many features to complement Newkey, including: <esc>
<esc>
- Save key definition file from memory to disk <esc>
- Load key definition file to memory from disk <esc>
- Merge key definition file into memory from disk <esc>
- Change Newkey parameters from batch files <esc>
- Execute Newkey macros from batch files <esc>
- Display key directory <esc>
- Display key translations <esc>
- Clear current key definitions from memory <esc>
- Toggle Newkey on/off <esc>
- Display/update Newkey control keys <esc>
- Display/update Newkey parameters <esc>
- Unload and reclaim memory <esc>
- Execute macros from batch files <esc>
- Turn slow typing mode on/off <esc>
<esc>
<esc>
Press CTRL F2 to continue, ALT H for help. <esc>
<esc>
<enddef>
* <begdef><ctrlf2><esc>
cls<enter>
INVOKING NEWKEYSP <esc>
Demonstration for <altn> <esc>
<esc>
Newkeysp's functions may be invoked in one of two ways: <esc>
<esc>
1. Type Newkeysp, press enter and a menu of options will be <esc>
displayed. <esc>
<esc>
2. Type Newkeysp plus a parameter and Newkeysp will perform the <esc>
requested function and return to DOS. This option is particularly <esc>
useful in a batch file invoked at system initialization. <esc>
<esc>
The best way to familiarize yourself with Newkeysp's functions is <esc>
to call it up and try out the various menu options. The batch file <esc>
"example.bat" contains many examples of using Newkeysp in batch files. <esc>
<esc>
<esc>
<esc>
Press CTRL F3 to continue, ALT H for help. <esc>
<enddef>
* <begdef><ctrlf3><esc>
cls<enter>
END OF TOUR <esc>
<esc>
Well <altn>, this ends the Newkey tour. We hope that you <esc>
find Newkey a powerful new tool which will enhance your productivity <esc>
and make life with your PC a lot easier. <esc>
<esc>
Newkey offers many more features and options. You will have many <esc>
more questions. You will find the Newkey manual a valuable aid in <esc>
untapping Newkey's power and best customizing it to meet your needs and <esc>
hardware/software configuration. <esc>
<esc>
If you are not a registered user we urge you to order the latest <esc>
copy. As a registered user you will receive: <esc>
<esc>
- The latest version of Newkey <esc>
- A version wihch does not display the evaluation notice screen <esc>
- A printed manual covering the many features not demonstrated in <esc>
this tour <esc>
- Telephone and written support <esc>
- Notification of new versions <esc>
<esc>
Press CTRL F4 to exit tour, ALT H for help <esc>
<enddef>
* <begdef><ctrlf4><esc>
cls<enter>
EXIT TOUR <esc>
Demonstration for <altn> <esc>
<esc>
Since this tour does not run under a program, the simplest way to <esc>
exit is to just continue on your way and do what you want. Since <esc>
several function keys and others have been redefined, you will probably <esc>
want to return to their native meanings. This may be done in two ways: <esc>
<esc>
- Press CTRL 6. This will deactivate Newkey completely. <esc>
<esc>
- Press ALT C. This will invoke Newkeysp to clear the current key <esc>
definitions from memory leaving Newkey active, but with all key <esc>
definitions completely purged. <esc>
<esc>
To reclaim the memory Newkey has reserved you can re-boot by <esc>
pressing ALT-CTRL-DEL simultaneously. <esc>
<esc>
To retake portions of the tour just press the appropriate <esc>
function key. Press ALT D for a tour directory. <esc>
<esc>
Press ALT H for help. <esc>
<enddef>
* <begdef><f1>cls<enter>
WELCOME TO NEWKEY <esc>
<esc>
A POWERFUL MACRO PROCESSOR FOR THE IBM PC <esc>
<esc>
<esc>
This starts a guided tour which will introduce you to many <esc>
of Newkey's powerful features. We will show you how to take control <esc>
of your keyboard and make your software easier to use. <esc>
<esc>
This tour uses Newkey macros extensively. In fact every thing you <esc>
are reading has been generated from macros. This tour does not use a <esc>
program. You will be operating under DOS the whole time. <esc>
<esc>
<esc>
What is a Macro? <esc>
<esc>
A macro is any sequence of keystrokes which are assigned to a <esc>
particular key. These allow customization of software packages, <esc>
keyboard redefinition, creation of boiler plate passages, and other <esc>
useful purposes. Macros will also be called key definitions or <esc>
translations in this demonstration. <esc>
<esc>
Lets start by defining a macro. Press F2 to continue. <esc>
<enddef>
* <begdef><f10><esc>
cls<enter>
OTHER NEWKEY FEATURES <esc>
Demonstration for <altn> <esc>
<esc>
<esc>
In addition to the features already demonstrated Newkey provides <esc>
several other features including: <esc>
<esc>
- Full featured macro editor <esc>
- Load and save macro files <esc>
- Define macros within macros <esc>
- Error correction during key definition <esc>
- Recursion detection during key definition and playback <esc>
- Ability to change the macro buffer size at Newkey loading <esc>
- Macro may call itself <esc>
- Slow typing mode <esc>
- Extended keyboard buffer <esc>
- Speedup keyboard repetition rate <esc>
- Screen saver <esc>
- Defining status line <esc>
- Cancel Newkey processing during playback or definition <esc>
<esc>
For a demonstration of Newkeysp, the NEWKEY Support Program, <esc>
Press CTRL F1. Press ALT H for help <esc>
<enddef>
* <begdef><f2>cls<enter>
DEFINING A MACRO <esc>
<esc>
<esc>
1. Press the ALT = key. This will cause a window to open prompting <esc>
you to enter the key you wish to define. <esc>
<esc>
2. Press the key you wish to define. <esc>
<esc>
3. Now you will be asked to type in a description. When you are done <esc>
done press the enter key to continue. At this point the window will <esc>
close, a help line will displayed, and the cursor will become a block. <esc>
<esc>
4. Now enter the keystrokes you want the key to represent. <esc>
<esc>
5. Press ALT - to end the definition. <esc>
<esc>
A macro may be defined at anytime, whether in a program or DOS. <esc>
Newkey will save your keystrokes and then pass them on. Your program <esc>
will not even know that Newkey exists! <esc>
<esc>
Now lets define a macro consisting of your first name and place <esc>
it in ALT N. Follow the above steps. <esc>
<esc>
Are you finished? Press F3 to continue, ALT H for help. <esc>
<enddef>
* <begdef><f3><esc>
cls<enter>
NESTED KEY DEFINITIONS <esc>
<esc>
Hi <altn> ! <esc>
<esc>
How did I know your name? This is an example of nested key <esc>
definition. Now that you have placed your name in ALT N, whenever <esc>
Newkey finds ALT N in a macro it will return your name instead of ALT N.<esc>
<esc>
Nested key definition means that Newkey will check each key in a <esc>
to see if it has its own macro assigned to it. Newkey will check to <esc>
a depth of 8 levels. <esc>
<esc>
Nested key definitions are very useful in many instances. For <esc>
example, you can develop a set of macros designed to operate on a file <esc>
designated by the ALT F key. <esc>
<esc>
Then, when you start a session on your PC, you can define ALT F <esc>
equal to the file name you are working on and with 1 keystroke invoke <esc>
your editor, bring up the file in edit mode and reset default editor <esc>
modes. 1 keystroke might also print the file, copy it from 1 disk to <esc>
another, or save it from ram disk to floppy and return to your current <esc>
position without leaving your editor. <esc>
<esc>
Press F4 to continue, ALT H for help.
<esc><enddef>
* <begdef><f4>cls<enter>
VARIABLE LENGTH FILL-IN-THE-BLANKS <esc>
Demonstration for <altn> <esc>
<esc>
Newkey provides you with the ability to define variable length <esc>
fill-in-the-blanks fields within key translations. When one of these <esc>
is encountered in a key translation, Newkey will stop translation and <esc>
wait for you to enter any keystrokes you wish. Newkey will continue <esc>
to accept keystrokes until the enter key is pressed when normal <esc>
translation will continue. To define a variable length <esc>
fill-in-the-blanks field follow these steps: <esc>
<esc>
1. Press CTRL [. The cursor will change from a full block to half <esc>
block with its bottom missing. <esc>
<esc>
2. Enter whatever keystrokes you wish. <esc>
<esc>
3. Press CTRL [. The cursor will change back to a full block. <esc>
<esc>
This is very useful in situations where you need to enclose a <esc>
field which varies in length with repetitive text. <esc>
<esc>
Press ALT 1 for a demonstration of a variable length field. <esc>
Press F5 to continue, ALT H for help. <esc>
<enddef>
* <begdef><f5><esc>
cls<enter>
FIXED LENGTH FILL-IN-THE-BLANKS <esc>
Demonstration for <altn> <esc>
<esc>
Newkey provides you with the ability to define fixed length <esc>
fill-in-the-blanks fields within key translations. When one of these <esc>
is encountered in a key translation, Newkey will stop translation and <esc>
wait for you to enter a predefined number of keystrokes. Newkey <esc>
will accept keystrokes until the predefined number is reached when <esc>
normal translation will continue. To define a fixed length <esc>
fill-in-the-blanks field follow these steps: <esc>
<esc>
1. Press ctrl ]. The cursor will change from a full block to half <esc>
block with its top missing. <esc>
<esc>
2. Enter whatever keystrokes you wish. <esc>
<esc>
3. Press ctrl ]. The cursor will change back to a full block. <esc>
<esc>
Press ALT 2 for a demonstration of a fixed length field. <esc>
Press F6 to continue, ALT H for help. <esc>
<enddef>
* <begdef><f6><esc>
cls<enter>
SWITCHING NEWKEY OFF/ON - CTRL 6 <esc>
Demonstration for <altn> <esc>
<esc>
<esc>
<esc>
Newkey may be deactivated/activated by pressing ctrl 6. This acts <esc>
as toggle switching Newkey from one status to another. When <esc>
deactivated Newkey is still resident in memory but it will act as if <esc>
the normal keyboard interrupt is in control. <esc>
<esc>
Press CTRL 6 followed by F6. Nothing happens. <esc>
<esc>
Now press CTRL 6 followed by F6 and watch this screen be <esc>
redisplayed. <esc>
<esc>
Press F7 to continue, ALT H for help. <esc>
<esc>
<enddef>
* <begdef><f7><esc>
cls<enter>
TRANSLATION BYPASS - CTRL 2 <esc>
Demonstration for <altn> <esc>
<esc>
<esc>
<esc>
Key translation may be bypassed by pressing CTRL 2 followed by the <esc>
key desired. This has the same effect as switching Newkey off, except <esc>
that it lasts for only one keystroke. <esc>
<esc>
<esc>
Press ALT 3 for a demonstration of translation bypass. <esc>
<esc>
Press F8 to continue, ALT H for help. <esc>
<esc>
<enddef>
* <begdef><f8><esc>
cls<enter>
DYNAMIC DISPLAY/UPDATE FEATURES <esc>
Demonstration for <altn> <esc>
<esc>
Most Newkey functions can be done using through the dynamic <esc>
display/update features (also known as newkey's pop-up features). <esc>
Without leaving your current program, Newkey will save your current <esc>
screen, present you with a menu of options and, when you are done, <esc>
restore your screen just where you left off. <esc>
<esc>
Functions available include: <esc>
<esc>
- Display directory and descriptions <esc>
- Load and save macro files <esc>
- Edit macros <esc>
- Display/update control keys <esc>
- Cut and paste <esc>
- Display/execute macro commands <esc>
<esc>
These functions are not available in the Newkeysm.exe program saving <esc>
24K in memory. <esc>
<esc>
Press CTRL / (alt / for enhanced keyboards) and play around, <esc>
Be careful not to clear memory. <esc>
Press F9 to continue, ALT H for help. <esc>
<enddef>
* <begdef><f9><esc>
cls<enter>
<cmd>42y<esc><esc><endcmd>
SHORTHAND MODE <esc>
Demonstration for <altn> <esc>
<esc>
When in shorthand mode Newkey watches your keystrokes as you type <esc>
and when they match the name of a multi-character macro, replaces <esc>
your macro name with the multi-character macro. No special hot key to <esc>
enter, no wasted keystrokes. For example, if "ne" is defined as <esc>
"Newkey" then: <esc>
<esc>
typing yields <esc>
------ ------ <esc>
"ne " "Newkey " <esc>
"ne is the best" "Newkey is the best" <esc>
"I love ne." "I love Newkey." <esc>
"plane " no playback <esc>
"nest" no playback <esc>
"honest" no playback <esc>
<esc>
Try it out. Type "neb.". <esc>
<esc>
Press F10 to continue, ALT H for help. <esc>
<enddef>
*
<begdef><ne>Newkey<enddef>
*
<begdef><neb>Newkey is the best, isn't it<enddef>